<div class="row mt-2">
    <div class="col-4 offset-3">
        <table class="table table-borderless">
            <tr>
                <td>id: </td>
                <td><?php echo $clazz->id; ?></td>
            </tr>
            <tr>
                <td>名称: </td>
                <td><?php echo $clazz->name; ?></td>
            </tr>
            <tr>
                <td>入学日期:</td>
                <td><?php echo dateIntToDateString($clazz->entranceDate); ?></td>
            </tr>
            <tr>
                <td>创建时间:</td>
                <td><?php echo $clazz->createTime; ?></td>
            </tr>
            <tr>
                <td>创建者:</td>
                <td><?php echo $clazz->createUser->name; ?></td>
            </tr>
            <tr>
                <td>学生人数:</td>
                <td><?php echo $clazz->numberOfStudents; ?></td>
            </tr>
            <tr>
                <td>班主任:</td>
                <td><?php echo $clazz->user->name; ?></td>
            </tr>
        </table>
        <a class="btn btn-info">返回</a>
    </div>
</div>
